package com.fy56.platform.logistics.mapper;

import com.fy56.platform.logistics.common.mapper.IBaseMapper;
import com.fy56.platform.logistics.model.Vip;

import java.util.List;
import java.util.Map;

/**
 * VIP用户Mapper
 * Created by li on 2018-01-29.
 */
public interface VipMapper extends IBaseMapper<Vip> {

    List<Vip> select(Vip record);

    List<Vip> selectVipOpenidByMobile(Vip record);

    int updateFormIdsByMobile(Vip record);

    @Override
    int deleteByPrimaryKey(Long id);

    @Override
    int insert(Vip record);

    @Override
    int insertSelective(Vip record);

    @Override
    Vip selectByPrimaryKey(Long id);

    @Override
    int updateByPrimaryKeySelective(Vip record);

    @Override
    int updateByPrimaryKey(Vip record);

    Vip selectByOpenId(String openid);

    Vip selectByMobile(Vip record);

    int updateOpenid(Vip record);

    int removeOpenid(Vip record);

    Vip selectById(Long id);

    int updateAuditStatus(Vip record);

    int updateDefaultPlaceOfLoading(Vip record);
}